package com.lx.patterns.prototype.demo1;

/**
 * @ClassName Client
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/15 07:25
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/15 07:25
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Client {

    public static void main(String[] args) throws CloneNotSupportedException {
        Realizetype realizetype = new Realizetype();

        Realizetype clone = (Realizetype)realizetype.clone();

        System.out.println("原型对象和克隆对象是否相同:"+(realizetype==clone));
    }
}
